package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import lombok.Data;
import top.tangyh.lamp.care.entity.BGenItem;
import top.tangyh.lamp.care.entity.BGenItemDetail;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "通用项目配置Dto")
public class GenItemDto extends BGenItem implements Serializable {
	private static final long serialVersionUID = -14173597645460502L;

	@Schema(description = "模块名称，如： 入量，护理操作，出量")
	private String modelName;

	@Schema(description = "创建人姓名")
	private String createName;

	@Schema(description = "修改人姓名")
	private String updateName;

	private Integer isShowIo;

	@Valid
	private List<BGenItemDetail> detail;

}